package vns.shared;

import java.io.Serializable;

import javax.jdo.annotations.Persistent;

import com.google.appengine.api.datastore.Key;

@SuppressWarnings("serial")
public class ObjectTypeDTO implements Serializable {
	private Key id;
	private String name;
	private boolean isuser;
	private boolean isPicklist;
	private String describe;

	public ObjectTypeDTO() {
	}

	public ObjectTypeDTO(Key Id, String Name, boolean Isuser, boolean Picklist,
			String Describe) {
		this();
		setinfo(Id, Name, Isuser, Picklist, Describe);
	}

	public void setinfo(Key Id, String Name, boolean Isuser, boolean Picklist,
			String Describe) {
		this.id = Id;
		this.name = Name;
		this.isuser = Isuser;
		this.isPicklist = Picklist;
		this.describe = Describe;
	}

	public Key getId() {
		return id;
	}

	public void setId(Key Id) {
		this.id = Id;
	}

	public String getName() {
		return name;
	}

	public void setName(String Name) {
		this.name = Name;
	}

	public boolean getIsuser() {
		return isuser;
	}

	public void setIsuser(boolean Isuser) {
		this.isuser = Isuser;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String Describe) {
		this.describe = Describe;
	}

	public void setPicklist(boolean isPicklist) {
		this.isPicklist = isPicklist;
	}

	public boolean getPicklist() {
		return isPicklist;
	}
}
